networking.interfaces.<name>.useDHCP
Whether this interface should be configured with DHCP. Overrides the
default set by networking.useDHCP. If null (the default),
DHCP is enabled if the interface has no IPv4 addresses configured
with networking.interfaces.<name>.ipv4.addresses, and
disabled otherwise.
- Type
null or boolean- Default
null- Declared
- <nixpkgs/nixos/modules/tasks/network-interfaces.nix>